package com.javaBasic;

import java.util.HashMap;

public class DebugTest {
    public static void main(String[] args){
        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put("name","Tom");
        hashMap.put("age", "12");
        hashMap.put("school", "qinghua");
        hashMap.put("major", "computer");

        String age = hashMap.get("age");
        //age.sout
        System.out.println("age");
        System.out.println(age);
        //soutv
        System.out.println("age = " + age);
        hashMap.remove("major");
        System.out.println(hashMap);

    }

}
